package com.ruoyi.machine.advanced.repair.register.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

/**
 * 设备维修登记表，储存设备维修登记信息
 * machine_repair_register
 */
public class RepairRegister extends BaseEntity {
    /**
     * 设备维修登记编号
     */
    @NotNull(message = "设备维修登记编号不能为空")
    @ApiModelProperty(value = "设备维修登记编号", required = true)
    private String repairRegisterId;
    /**
     * 机器编号
     */
    @NotNull(message = "机器编号不能为空")
    @ApiModelProperty(value = "机器编号", required = true)
    private String machineId;
    /**
     * 机器名称
     */
    private String machineName;
    /**
     * 维修者编号
     */
    private String staffRepairId;
    /**
     * 维修者名称
     */
    private String staffRepairName;
    /**
     * 维修内容
     */
    private String repairContent;
    /**
     * 维修时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.sql.Timestamp repairRegisterTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 删除标志
     */
    private String deleteFlag;

    public String getRepairRegisterId() {
        return repairRegisterId;
    }

    public void setRepairRegisterId(String repairRegisterId) {
        this.repairRegisterId = repairRegisterId;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public String getMachineName() {
        return machineName;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }

    public String getStaffRepairId() {
        return staffRepairId;
    }

    public void setStaffRepairId(String staffRepairId) {
        this.staffRepairId = staffRepairId;
    }

    public String getStaffRepairName() {
        return staffRepairName;
    }

    public void setStaffRepairName(String staffRepairName) {
        this.staffRepairName = staffRepairName;
    }

    public String getRepairContent() {
        return repairContent;
    }

    public void setRepairContent(String repairContent) {
        this.repairContent = repairContent;
    }

    public Timestamp getRepairRegisterTime() {
        return repairRegisterTime;
    }

    public void setRepairRegisterTime(Timestamp repairRegisterTime) {
        this.repairRegisterTime = repairRegisterTime;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}
